package com.wk.springframework.beans.factory.config;

import com.wk.springframework.common.exception.BeanException;
import com.wk.springframework.core.io.Resource;
import com.wk.springframework.core.io.ResourceLoader;
import com.wk.springframework.beans.factory.support.BeanDefinitionRegistry;

public interface BeanDefinitionReader {

    BeanDefinitionRegistry getRegistry();

    ResourceLoader getResourceLoader();

    void loadBeanDefinitions(Resource resource) throws BeanException;

    void loadBeanDefinitions(Resource... resources) throws BeanException;

    void loadBeanDefinitions(String location) throws BeanException;

}
